<template>
  <div>
    主应用
    <button @click="gogo">qiankun跳转测试</button>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";

const router = useRouter();

const gogo = () => {
  router.push("/sub-vue");
};

localStorage.setItem("qwe", 111);
</script>

<style scoped></style>
